Put a large pan on medium-high heat. Place two mason jar lids (ring only) into the pan with the tops facing down. Spray the entire pan, including lids, with cooking spray.
Crack one egg into each lid and break the yolk.
Scrunch and tear the spinach and place on top of one of the eggs. Put the cheddar cheese on the other egg.
Add 2 to 3 tablespoons of water to the pan around the mason jars, then immediately cover. The water helps cook the eggs, melt the cheese and wilt the spinach.
Leave the cover on for 1 to 2 minutes, until eggs are fully cooked.
Remove the eggs from the pan and remove the jar lids. Lay the bacon and ham on top of the spinach. Use the other egg as the sandwich top, flipping over so the cheese is on top of the ham.