You actually have to put parentheses around the IN: AND store_id IN (?)