QUERY PLAN
Seq Scan on tbl_erp_sales_outbounds (cost=0.00..1.25 rows=1 width=40)
Filter: ((status = 2) AND (erp_sales_order_id = 1580))