QUERY PLAN
Sort (cost=26.99..26.99 rows=1 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_advance_payment_ticket_stop_verify_rels (cost=0.00..26.98 rows=1 width=56)
Filter: ((status = 0) AND (erp_advance_payment_ticket_id = ANY ('{3,2,4,1}'::integer[])))