As far as I know, if you prefix a bash command with variable assignment the variable will take effect immediately. And it will only have effect within that command.
The variable will be passed in the environment of the command following it, not when the command is being evaluated (expanded). Any variable expansion will be done earlier by shell.