Seq Scan on tbl_attachement_relationships (cost=0.00..1487.60 rows=1 width=16)
Filter: ((object_type = 9) AND (object_id = ANY ('{13277,17720,17703,17704,17705,17706,17707,17708,17709,17710,17711,17712,17713,17714,17715,17716,17717,17718,17719,17721}'::integer[])))