Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..82.13 rows=20 width=132)
Index Cond: (id = ANY ('{11849,12487,13817,14690,13241,12978,14139,13685,14158,15312,15474,13167,12453,14474,13345,14676,14188,14167,15658,13818}'::integer[]))