Mix flour, salt and sugar in a bowl. Add room temperature butter and rub with your hands until fine crumbs form. Pour in 3 tbsp. l. very cold water and gather the dough into a ball. If needed, add 1 more tbsp. l. water. Do not knead the dough, otherwise it will be hard! Wrap the dough in cling film and refrigerate for 1 hour.
Roll out the dough to a thickness of 3-4 mm and line a 24 cm diameter baking dish or a rectangular shape of similar size. Prick the dough with a fork.
Grate the cheese on a fine grater, cut the ham into small cubes. Beat the egg with cream, salt and pepper.
Put the ham on the dough, pour over the egg-cream mixture and sprinkle with grated cheese. Put the mold in the oven, preheated to 180 ˚C, and bake the quiche for 20 minutes, until the surface becomes golden.
Remove the finished quiche from the oven and cool for 5 minutes. Use a cookie cutter or a knife to cut into portions. Serve the quiche warm.