QUERY PLAN
Seq Scan on tbl_ledger_tickets (cost=0.00..1.57 rows=1 width=59)
Filter: ((id = 39) AND (ledger_id = 1))