To prepare the dough:
Mix the flour and salt in a bowl. Whisk the butter and water and pour all into the bowl and mix with a mixer into a soft, smooth dough. Do not knead. Flatten the dough into a disk, wrap in plastic and refrigerate for about half an hour.
Roll out the dough, prick thoroughly with a fork and line the prepared pan(s) with the dough.
Fry the Speck in a pan for about 2 minutes. Add the leek to the pan and fry for another 5 minutes. Place in a bowl. Whisk the cream, eggs, apple, salt and pepper well and distribute over the dough along with the leek-Speck mixture.
Bake for about 30 minutes on the lowest level of the preheated 220°C(425°F) oven.
Remove from the oven, let cool shortly on a cooling rack and remove from the form.