Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..82.13 rows=20 width=132)
Index Cond: (id = ANY ('{27505,28197,29141,29142,29130,29143,29144,29132,29148,29134,29686,29681,30384,30366,31392,31127,31994,31966,32270,32261}'::integer[]))