Spatial Convenience Function:
This function does not exist in any version of MariaDB but does on MySQL 5.7+ and is critical for spatial conversions. ST_Distance_Sphere makes use for calculating the distance of coordinates from points.
For more information reference MySQL's documentation directly at:
Source Code Reference (thanks to Daniel Black for the commit number):