QUERY PLAN
Sort (cost=10.66..10.84 rows=72 width=79)
Sort Key: sort, id
-> Seq Scan on tbl_ledger_ticket_items (cost=0.00..8.44 rows=72 width=79)
Filter: (ledger_ticket_id = ANY ('{1,2,3,4,5,13,6,7,8,9,10,11,12,22,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38}'::integer[]))