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