Seq Scan on tbl_attachement_relationships (cost=0.00..2748.28 rows=1 width=16)
Filter: ((object_type = 30002) AND (object_id = ANY ('{1,2,3,4,5,13,6,7,8,9,10,11,12,22,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39}'::integer[])))