I have an old bike sitting around at home with a 105 from that era and honestly it's still solid. A 2010 105 isn't junk, it's an entry-level groupset but reliable. The real difference with Ultegra is mostly weight and derailleur precision - Ultegra shifts a tiny bit faster and it's slightly more rigid, but honestly on a used bike you're not going to race, that's really marginal. Wear is what matters most at that age, not the groupset itself.
For replacement parts, no problem at all. The 105 is so popular that you'll find chains, sprockets, cables everywhere - in shops, online, third-party compatible brands, all that. You just need to check that your groupset's speed count (usually 9 or 10 speeds depending on the exact year) matches the parts you're buying, but it's clearly written everywhere. I'd say check the actual condition of the groupset - chain wear, cassettes grinding - rather than stressing about the model. A well-maintained 105 beats a rusty Ultegra any day.