SELECT * FROM user_locations
WHERE userid = $1::text;
