MasterCard on Tuesday reported first-quarter earnings and sales that topped Wall Street expectations.