QUERY PLAN
Sort (cost=2.76..2.85 rows=38 width=14)
Sort Key: ticket_date, ticket_word, serial_no, id
-> Seq Scan on tbl_ledger_tickets (cost=0.00..1.76 rows=38 width=14)
Filter: ((ticket_date >= '2026-05-01'::date) AND (ticket_date <= '2026-05-31'::date) AND (ledger_id = 1) AND (status = 1))