I found that Bulgarian company suits well with Estonia residency.
You need Estonia residency and either Estonia holding + Bulgaria subsidiary, or operate through branch office of Estonian company in Bulgaria.
Either way, in such case the total tax is 10%, as the withholding rate can be reduced.