| Nested Loop (cost=0.14..18.34 rows=1 width=67) |
| -> Seq Scan on tbl_erp_sales_outbound_products r (cost=0.00..10.06 rows=1 width=67) |
| Filter: (erp_sales_order_product_id = 2225) |
| -> Index Scan using tbl_erp_sales_outbounds_pkey on tbl_erp_sales_outbounds t (cost=0.14..8.17 rows=1 width=4) |
| Index Cond: (id = r.erp_sales_outbound_id) |
| Filter: (status = ANY ('{2,5,1}'::integer[])) |