Well the condition suggests it overheated, presumably due to a significant load on poor contacts. Three pins says it is a class 1 appliance. I'll guess at a portable hotplate.