algorithm for places in a radius of location using SQL / React Native and PHP