Enhancing Legal Sector Efficiency with Enteros: Observability and Cost Estimation for Database Optimization