QUERY PLAN
Sort (cost=32.86..32.95 rows=39 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_stop_verify_rels (cost=0.00..31.82 rows=39 width=56)
Filter: ((status <> 0) AND (erp_cash_cost_ticket_id = ANY ('{8,7,6,5,4,3,2,1}'::integer[])))