It depends upon your income as to whether a taxable or tax deferred account would work. For calendar year 2022 each share of MPW paid a $1.16 div. Of that $1.16 the breakdown for taxes was:
Ordinary dividend income - .47 or about 41% (this is section 199a income)
Capital gains - .68 or about 59%
41% was section 199a income which is tax advantaged in that 20% of this is a qualified business deduction (subject to certain limits) with its own line on a standard 1040.
If you file a schedule D the cap gains will be reflected there. The full tax treatment of MPW's dividends is detailed on their website (including some unrecaptured section 1250 gain which is very limited in its application, ditto section 897 cap gain).