Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..90.74 rows=22 width=132)
Index Cond: (id = ANY ('{31135,31148,31143,31138,31137,31139,31187,31261,31185,31184,31167,31166,31276,31277,31328,31360,31399,31463,31465,31770,32012,32192}'::integer[]))