I launched an open-source Bitcoin database https://www.dolthub.com/repositories/web3/bitcoin. Anyone should be able to clone and run mysql queries on top of it. It's built on a database tool called https://github.com/dolthub/dolt.
Let me know if this interesting, this current database is a little behind the head block but I have a more optimized database of Bitcoin coming soon.