defaults read -g com.apple.mouse.scaling
# Fastest you can get using the Mouse option in System Preferences is 3.0
# Now let's set it to 5.0
defaults write -g com.apple.mouse.scaling 5.0
No need to reboot or else, the effect takes place immediately in MacOS Monterey.