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