Currently, prepare_indexed_txs is doubly inefficient:
1. If different inputs spend different outputs from the same tx, it'll query the tx num of this tx twice
2. It queries tx nums one-by-one, instead of utilizing the optimized batch query gets that RocksDB provides
We fix this by adding batch query versions to `LookupColumn` and `TxReader`, and then utilize those in `prepare_indexed_txs`.