QUERY PLAN
Aggregate (cost=10.42..10.43 rows=1 width=8)
-> Sort (cost=10.40..10.41 rows=1 width=56)
Sort Key: tbl_erp_sales_outbound_verify_rels.id
-> Seq Scan on tbl_erp_sales_outbound_verify_rels (cost=0.00..10.39 rows=1 width=56)
Filter: ((status = 0) AND (erp_sales_outbound_id = 155))