MySQL uses "call" instead of selecting a function value