Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..113.23 rows=30 width=131)
Index Cond: (id = ANY ('{27132,27133,27134,27135,27136,27137,27085,27084,27058,27059,27060,27061,27118,27119,27124,27160,27161,27162,27141,27142,27143,27144,27145,27146,27147,27148,27149,27150,27151,27167}'::integer[]))