Let the puff pastry thaw for about 10 minutes. Preheat the oven to 200 ° C fan-assisted air.
In the meantime, finely chop the garlic and fry lightly in the olive oil (without color). Add the tomatoes, season with the spices and let the sauce simmer gently for 5 minutes.
Roll up the puff pastry sheets loosely 1 cm on all 4 sides (so that a small edge is formed) and distribute them on two baking sheets lined with baking paper. Spread a little tomato sauce on each one. Now spread the mushrooms, ham and / or other toppings on top and sprinkle with cheese.