Seq Scan on tbl_attachement_relationships (cost=0.00..2226.77 rows=1 width=16)
Filter: ((object_type = 30) AND (object_id = ANY ('{3700,3707,3708,3709,3711,3712,3714,3716,3720,3722,3724,3726,3727,3729,3732,3733,3734,3735,3736,3737,3740,3741,3742,3743,3744,3745,3746,3747,3748}'::integer[])))