Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..82.15 rows=20 width=131)
Index Cond: (id = ANY ('{23128,23239,23240,23348,23404,23420,23419,23323,23140,23080,23114,23454,23918,23254,23255,23435,23131,23438,23436,23487}'::integer[]))