QUERY PLAN
Sort (cost=864.51..864.64 rows=50 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_verify_rels (cost=0.00..863.10 rows=50 width=25)
Filter: (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[]))