Google Fi is your answer.
With Movistars Global Plan + Google, Fi I receive calls, messages, SMS codes, anywhere in the world.
When Google Fi saw that I was out of the country too much they cancelled my 'roaming data' but I am still able to receive 2FA-SMS codes, through them, anywhere in the world.
Google Fi works best with a Google Pixel phone and it must be activated in the US. Other phones may have difficulty connecting Google Fi to foreign cell services.
On a recent trip to the US I upgraded to a $400 Google Pixel 7. It's an excellent dual sim phone.
I put Google Fi on my Esim solely for SMS codes. They gave me a U.S. phone number.
I put a physical Movistar sim card in the other slot for calls, messages, data, etc.