Seq Scan on tbl_attachement_relationships (cost=0.00..2021.26 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{3685,3686,3689,3690,3691,3692,3693,3694,3695,3696,3697,3699,3700,3711,3712,3714,3720,3722,3734,3735,3736,3737,3743,3749,3750}'::integer[])))