Seq Scan on tbl_attachement_relationships (cost=0.00..1005.61 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{2210,2213,2224,2225,2227,2228,2229,2232,2235,2242,2247,2248,2249,2251,2252,2258,2262,2267,2268,2269,2270,2271,2272,2273}'::integer[])))