Seq Scan on tbl_attachement_relationships (cost=0.00..1031.83 rows=1 width=16)
Filter: ((object_type = 30) AND (object_id = ANY ('{2189,2191,2192,2194,2196,2197,2198,2199,2200,2201,2202,2203,2204,2205,2206,2207,2208,2209,2210,2213,2235,2247,2248,2249,2251}'::integer[])))