QUERY PLAN
Aggregate (cost=2.92..2.93 rows=1 width=8)
-> Sort (cost=2.90..2.90 rows=1 width=56)
Sort Key: tbl_erp_sales_order_verify_rels.id
-> Seq Scan on tbl_erp_sales_order_verify_rels (cost=0.00..2.89 rows=1 width=56)
Filter: ((status = 0) AND (erp_sales_order_id = 1703))