McDonald's said Tuesday it's selling a tech company it acquired roughly three years ago to Mastercard for an undisclosed amount.| CNBC