QUERY PLAN
Sort (cost=1.24..1.24 rows=2 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_gift_stop_verify_rels (cost=0.00..1.23 rows=2 width=25)
Filter: ((status = 0) AND (erp_purchase_gift_id = ANY ('{23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4}'::integer[])))