Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..82.14 rows=20 width=131)
Index Cond: (id = ANY ('{21132,22137,22034,19585,19273,20000,20210,20449,19680,22670,21688,21625,21450,20371,19980,22562,20546,21308,23131,23436}'::integer[]))