If desired, in a small bowl, soak the dried shrimp in hot water for 20 minutes, then drain and set aside.
For the spicy ketchup sauce, if using: In a small bowl, combine the ketchup and chili sauce and set aside.
For the fried rice: Heat a wok over high heat and add 1 tablespoon peanut oil. Add the eggs and scramble, then set aside on a plate.
Add the remaining 1 tablespoon peanut oil to the wok. Add the ginger and stir-fry for less than 1 minute. Then add the carrots and stir-fry for 1 minute more. Add the pork, the soaked dried shrimp if using, and mushrooms and cook for 2 minutes. Then add the peas and cooked rice and toss together. Add the cooked egg back into the wok. Season the mixture with the light soy sauce, salt and pepper. At the very end add the sesame oil and spicy ketchup sauce if using. Check the seasoning and adjust to taste with salt and pepper. Garnish with green onions and serve immediately.