QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1.88 rows=10 width=2152)
Filter: (id = ANY ('{39,38,37,36,35,33,22,14,10,9}'::bigint[]))