QUERY PLAN
Sort (cost=103.97..104.02 rows=20 width=62)
Sort Key: id
-> Seq Scan on tbl_erp_payment_ticket_settles (cost=0.00..103.54 rows=20 width=62)
Filter: (erp_payment_ticket_id = ANY ('{2336,2335,2334,2333,2332,2331,2330,2329,2328,2327,2326,2325,2324,2323,2322,2321,2320,2319,2318,2317}'::integer[]))