How fast can an ActiveRecord SQL query run?

You have a SQL query that seems like it needs to be faster. What's the upper-bound on improving that query's performance?