Does that work with a local MySQL 5.5? Then it should also work with Google Cloud SQL. Note that the SPATIAL INDEX is only available for MyISAM tables which are not transactional and not recommended for Google Cloud SQL.
Example:
mysql> create table Points ( name VARCHAR(20) PRIMARY KEY, location Point NOT NULL, description VARCHAR(200), SPATIAL INDEX(location) ) engine=myisam;
Query OK, 0 rows affected (0.32 sec)
mysql> INSERT INTO Points (name, location) VALUES ( 'point1' , GeomFromText( ' POINT(31.5 42.2) ' ) );
Query OK, 1 row affected (0.14 sec)
mysql> SELECT name, AsText(location) FROM Points WHERE X(location) > 10\G
*************************** 1. row ***************************
name: point1
AsText(location): POINT(31.5 42.2)
1 row in set (0.08 sec)
mysql>
-- Razvan ME