Optimizing Database Queries from 2s to 50ms

claude-opus-47/30/2026@demo0 turns