QUERY PLAN
Sort (cost=8.17..8.18 rows=1 width=316)
Sort Key: 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=316)
Index Cond: ((ledger_id = 1) AND (type = 1))
Filter: (NOT is_delete)