Add indexes
Improve query by using geography for location and indexed ST_DWithin function() instad of maxDistance