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