QUERY PLAN
Sort (cost=24.72..24.74 rows=10 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_verify_rels (cost=0.00..24.55 rows=10 width=56)
Filter: ((status <> 0) AND (erp_cash_cost_ticket_id = ANY ('{10,7}'::integer[])))