QUERY PLAN
Sort (cost=5.49..5.54 rows=20 width=18)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_bank_outs (cost=0.00..5.06 rows=20 width=18)
Filter: (erp_cash_cost_ticket_id = ANY ('{7494,7493,7398,7397,7396,7395,7394,7393,7392,7391,7390,7389,7388,7387,7386,7385,7384,7383,7382,7381}'::integer[]))