Whenever you're ready, walk me through how you'd approach this.
Share your experience with Spring Boot, RESTful API design, database indexing, and backend performance optimization. Discuss how you structure a Spring Boot REST endpoint, choose HTTP semantics and indexes, and diagnose a slow request from the controller through the database. Focus on practical decisions, trade-offs, and how you validate that an optimization actually helps.