Seq Scan on tbl_attachement_relationships (cost=0.00..900.71 rows=1 width=16)
Filter: ((object_type = 9) AND (object_id = ANY ('{17652,17651,17648,17647,17646,17645,17644,17630,17629,17628,17627,17626,17625,17624,17621,17620,17619,17618,17617,17616}'::integer[])))