Seq Scan on tbl_attachement_relationships (cost=0.00..1756.85 rows=1 width=16)
Filter: ((object_type = 30) AND (object_id = ANY ('{2740,2741,2742,2746,2747,2748,2749,2751,2752,2753,2754,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2779,2780,2781,2782,2783}'::integer[])))