You can't use country code domains such as
.es as vanity suffixes. Google will only rank content on
.es domains for searchers from within Spain. See I'm using a vanity country code top level domain (ccTLD), can I persuade Google to geotarget a different region? Between your two examples only
webuy.homes will rank worldwide because Google thinks that most country code domains are to be exclusive for users within that country. There are some country code domains that Google treats globally:
.ad .as .bz .cc .cd .co .dj .fm .io .la .me .ms .nu .sc .sr .su .tv .tk .ws. So maybe
you-want-to-sell-your-home-b.ad could work.
Other than the restrictions on ranking country code domains, the keywords in your domain name are not going to matter much. I tend to choose domains that are easily usable for humans. That usually means not putting a period in the middle of word unless you can make the domain significantly shorter because of it.
webuy.homes would be very usable, so would
webuyhom.es is long, confusing, and spammy looking. I also prefer using
.com as the top level domain because it is so common and people are used to it. See this related question: Exact Match Domain Extension Value
To directly answer your question, Google wouldn't consider
webuyhom.es to mean "we buy homes". Google would probably be able to get the keywords out of
webuy.homes, but it doesn't really matter. Google no longer uses exact match domain name keywords as a significant ranking factor. A few years ago Google specifically tweaked their algorithm so that exact match domains don't get a ranking boost. These days it is far better to build a brand on a strongly branded domain name. See Best Strategy for Exact Match Domain (EMD) Along Side Branded Domain