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