Seq Scan on tbl_attachement_relationships (cost=0.00..1005.61 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{174,175,2224,2232,2258,2262,2267,2268,2269,2274,2275,2276,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296}'::integer[])))