You can set up different Environment Profiles for your project. You can add Global Environment Variables to each of those profiles. Choosing a profile during a test run will use the variables set up for that profile/environment.
More information is available at:
Setting up Environment Profiles:
Setting up Global Environment Variables:
Katalon Docs for Different Variable Types: