QUERY PLAN
Sort (cost=36.98..37.11 rows=53 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_inventory_build_stop_verify_rels (cost=0.00..35.46 rows=53 width=56)
Filter: ((status <> 0) AND (erp_inventory_build_id = ANY ('{12,10,9,8,6,4,7,5,3,2,1}'::integer[])))