To scale using the geopos procedure in mysql, a database-index will be required. candidate fields: lat, lng, bssid