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