Move databases to MySQL so we can embed the Haversine formula in the query.
There's no way to do what we need in ActiveRecord so we need to use the
find_by_sql command to do it brute force.