delimiter \\
create procedure get_cache_by_key(in i_datasettag char(32))
begin
    select
        storage_node_access_key
    from
        dataset_node_jct
    where
        access_key = i_datasettag and
        storage_node_type = 'CACHE';

end\\
delimiter ;