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