QUERY PLAN
Sort (cost=5.84..5.95 rows=45 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_inbound_verify_rels (cost=0.00..4.60 rows=45 width=25)
Filter: ((status <> 0) AND (erp_purchase_inbound_id = ANY ('{36,35,37,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18}'::integer[])))