AsBinary(g), AsWKB(g)

Converts a value in internal geometry format to its WKB representation
and returns the binary result.

The result is NULL if the geometry argument is NULL or not a
syntactically well-formed geometry.

URL: http://dev.mysql.com/doc/refman/5.5/en/gis-format-conversion-functions.html

