In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `tablebusiness` ADD INDEX `tablebusiness_idx_latitude` (`Latitude`);
SELECT
TB.ID,
TB.Latitude,
TB.Longitude,
111151.29341326 * SQRT(pow(-6.185 - TB.Latitude,
2) + pow(106.773 - TB.Longitude,
2) * cos(-6.185 * 0.017453292519943) * cos(TB.Latitude * 0.017453292519943)) AS Distance
FROM
`tablebusiness` AS TB
WHERE
-6.2767668133836 < TB.Latitude
AND TB.Latitude < -6.0932331866164
AND TB.FoursquarePeopleCount > 5
AND 106.68123318662 < TB.Longitude
AND TB.Longitude < 106.86476681338
ORDER BY
Distance