QUERY PLAN
Sort (cost=1.11..1.11 rows=2 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_gift_verify_rels (cost=0.00..1.10 rows=2 width=56)
Filter: ((status <> 0) AND (erp_purchase_gift_id = ANY ('{3,2,1}'::integer[])))