QUERY PLAN
Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..38.47 rows=8 width=131)
Index Cond: (id = ANY ('{24289,24384,24403,24524,24556,24558,24526,24348}'::integer[]))