Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..99.67 rows=25 width=131)
Index Cond: (id = ANY ('{29651,29747,29748,29749,29745,29746,29743,29744,29741,29739,29740,29737,29738,29735,29736,29729,29730,29731,29732,29733,29734,29727,29728,29725,29726}'::integer[]))