Seq Scan on tbl_attachement_relationships (cost=0.00..900.71 rows=1 width=16)
Filter: ((object_type = 18) AND (object_id = ANY ('{21704,21551,21433,20678,20677,19578,19475,18810,18718,18220,18221,17921,17730,17462,17351,17033,16812,16788,16787,15889}'::integer[])))