QUERY PLAN
Sort (cost=23.60..23.65 rows=20 width=30)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_bank_outs (cost=0.00..23.17 rows=20 width=30)
Filter: (erp_cash_cost_ticket_id = ANY ('{7852,7853,7851,7850,7849,7848,7847,7846,7845,7844,7843,7842,7841,7840,7839,7838,7837,7836,7835,7834}'::integer[]))