Seq Scan on tbl_attachement_relationships (cost=0.00..2087.63 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{3612,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3634,3635,3636,3637,3638,3639,3640}'::integer[])))