QUERY PLAN
Sort (cost=917.66..917.79 rows=50 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_verify_rels (cost=0.00..916.25 rows=50 width=25)
Filter: ((status <> 0) AND (erp_cash_cost_ticket_id = ANY ('{8489,8483,8461,8460,8459,8458,8457,8456,8455,8454,8453,8452,8451,8450,8449,8448,8447,8446,8445,8444}'::integer[])))