Seq Scan on tbl_attachement_relationships (cost=0.00..1828.79 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{3671,3673,3674,3675,3676,3679,3687,3688,3689,3691,3694,3699,3708,3712,3743,3749,3750,3751,3752,3754,3755}'::integer[])))