Does DB configuration clearing affect licenses?
Theoretically not. However, you are advised to back up license files before clearing DB configurations.
License files are stored in /OSM/bin/license.bat. You can log in to a storage device in debug mode to view the path for storing license files.
Storage:~ # cd /OSM/bin/
Storage:~/bin # ls