I would say it is a stove shaker grate handle/lid lifter combo. Pretty commonly found amongst tool lots, most people that have never seen one assume it is a mechanical tool based on the socket end. Note the way the "pry bar" end is made. Old wood stoves had flat iron plates on the top, with a recessed area near the edge with little bars across the hole to insert the bar to lift them out to add wood or check the fire.
Also, the socket is more like a triangular shape, as mentioned by neals. That is also a common trait with shaker handles.