QUERY PLAN
Sort (cost=35.59..35.71 rows=48 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_inbound_verify_rels (cost=0.00..34.25 rows=48 width=56)
Filter: ((status <> 0) AND (erp_purchase_inbound_id = ANY ('{12,8,11,10,9,7,6,5,2,1}'::integer[])))