QUERY PLAN
Sort (cost=8.17..8.18 rows=1 width=312)
Sort Key: type, sort, id
-> Index Scan using idx_tbl_ledger_auxiliary_items_ledger_serial_no on tbl_ledger_auxiliary_items (cost=0.14..8.16 rows=1 width=312)
Index Cond: (ledger_id = 1)