Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..95.07 rows=23 width=131)
Index Cond: (id = ANY ('{27567,27568,27569,27570,27600,27601,27682,27683,27684,27685,27686,27687,27688,27689,27690,27691,27692,27693,27694,27695,27696,27697,27717}'::integer[]))