Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..121.84 rows=32 width=131)
Index Cond: (id = ANY ('{27357,27358,27359,27360,27361,27362,27363,27364,27365,27366,27367,27368,27369,27370,27371,27372,27373,27377,27379,27380,27381,28208,28216,28215,28277,28225,28228,28252,28253,28254,28255,28257}'::integer[]))