Seq Scan on tbl_attachement_relationships (cost=0.00..1975.23 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{3673,3674,3675,3676,3678,3679,3680,3685,3686,3687,3688,3690,3691,3692,3693,3694,3695,3696,3697,3699,3700,3709,3711,3724}'::integer[])))