QUERY PLAN
Result (cost=1.76..1.77 rows=1 width=1)
InitPlan 1 (returns $0)
-> Seq Scan on tbl_ledger_tickets (cost=0.00..1.76 rows=1 width=0)
Filter: ((ledger_id = 1) AND (type = 2) AND (settle_month = '2026-05-01'::date) AND (settle_caption_id = 8))