Improving FinTech Infrastructure with AI-Powered Database Optimization