CREATE OR REPLACE PROCEDURE 
    SetOnline( IN Token VARCHAR(64), IN User_id INT )
BEGIN
    INSERT INTO online 
    (
        activity, session_token, user_id
    ) 
    VALUES 
    (
        NOW(), Token, User_id
    )
END