A Google search came up with this
Right Angle Plug with 8A Fuse Philmore 48-785. Scroll down near the center of the page and you"ll see the plug. It claim to stick out only 5/8" of an inch with an overall length of 2 1/8" including tip. The dimension are
here. From the website, it sound like you will need to provide your own wire and socket or a pigtail socket. Other choice will be to cutoff the old plug and use their plug. They also list a minium order of $20, so it probably cheaper to buy a shorter mug instead or find that plug elsewhere if that plug meet your criteria