set @meterR = 111195;
set @range = 2300 / @meterR;
select id,( st_distance(shape,point(-7.747347,110.404036)) * @meterR ) as distance from locations
where st_distance(shape,point(-7.747347,110.404036)) < @range
and locationable_type = 'App\\Models\\Perawat'