ST_PointN(ls, N)

Returns the N-th Point in the Linestring value ls. Points are numbered
beginning with 1. If any argument is NULL or the geometry argument is
an empty geometry, the return value is NULL.

URL: https://dev.mysql.com/doc/refman/5.7/en/gis-linestring-property-functions.html

