Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..82.14 rows=20 width=131)
Index Cond: (id = ANY ('{29384,29387,29388,29401,29419,29426,29467,29482,29521,29561,29619,29630,29664,29689,29784,29781,29783,29786,29782,29785}'::integer[]))