Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..86.48 rows=21 width=131)
Index Cond: (id = ANY ('{21948,22200,23106,22232,22885,22905,22417,21618,21280,21402,21404,21431,22991,24067,24284,24300,24301,24374,24499,22948,24535}'::integer[]))