Index Scan using tbl_attachments_pkey on tbl_attachments (cost=0.29..90.76 rows=22 width=131)
Index Cond: (id = ANY ('{27557,27558,27559,27560,27561,27562,27563,27564,27565,27566,27567,27568,27569,27570,27600,27601,27682,27683,27684,27685,27686,27687}'::integer[]))