QUERY PLAN
Result (cost=9.18..9.19 rows=1 width=1)
InitPlan 1 (returns $0)
-> Seq Scan on tbl_erp_purchase_inbounds (cost=0.00..9.18 rows=1 width=0)
Filter: ((status = ANY ('{1,5}'::integer[])) AND (created_by = 1013))