Seq Scan on tbl_attachement_relationships (cost=0.00..1189.17 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{2064,2071,2076,2080,2081,2090,2103,2125,2140,2143,2152,2153,2157,2165,2178,2188,2197,2210,2242,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296}'::integer[])))