Another approach would be to have the spanish company as a shareholder of a Singapore non resident company managed from Malta.
The SG company will not pay taxes in SG because it will not be considered tax resident as it's managed from Malta.
The SG company will also not pay any tax in Malta since it will be considered
resident non domiciled company. (this will save you tens of thousands of euro in yearly setup fees in Malta)
This company will hold IP rights that will license to a Georgian company.
Georgia company will sub-license those rights to US companies and since there's no limitation on benefits in the old USSR-US double tax treaty you will be able to shift profits from Georgia to the SG company.
The biggest roadblocks with this setup would be:
1. opening and operating bank accounts for both companies, especially in Georgia.
2. ensuring both companies would not trigger spanish CFC rules which i'm not sure