Detto cosi' non dovresti trovare manco un record con gli id in AND....

usa: where id IN(1,2,3,4,5,6...ecc...)