Seq Scan on tbl_attachement_relationships (cost=0.00..1769.09 rows=1 width=16)
Filter: ((object_type = 310) AND (object_id = ANY ('{220974,220972,219862,173361,173360,170029,170028,158068,158067,158049,156147,156146,156145,155687,149941,149940,149483,149482,149481,149479}'::integer[])))