Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..130.76 rows=35 width=131)
Index Cond: (id = ANY ('{28198,28206,28208,28216,28233,28234,28235,28236,28237,28238,28239,28240,28241,28242,28243,28245,28247,28249,28251,28252,28254,28256,28262,28263,28264,28265,28266,28268,28269,28270,28271,28272,28273,28289,28296}'::integer[]))