Seq Scan on tbl_attachement_relationships (cost=0.00..1769.09 rows=1 width=16)
Filter: ((object_type = 310) AND (object_id = ANY ('{220974,220620,220601,220972,220815,220814,220783,220664,220568,220511,220510,220509,220458,220456,220455,220448,220447,220446,220132,220048}'::integer[])))