Seq Scan on tbl_attachement_relationships (cost=0.00..1188.22 rows=1 width=16)
Filter: ((object_type = 30) AND (object_id = ANY ('{2687,2688,2689,2695,2696,2709,2710,2711,2712,2713,2715,2716,2719,2720,2721,2726,2728,2730,2731,2733,2735,2738,2739,2740,2741}'::integer[])))