Preheat the oven to 200°C (400°F, gas mark 6). Sift the flour and a pinch of salt into a bowl. Add the butter and, using your fingertips, rub it into the flour to form fine breadcrumbs. Sprinkle over 2tbsp ice cold water and mix into the crumbs to make a soft dough. Wrap the dough in clingfilm and chill for 20 mins.
Roll out the dough and use to line a 17cm (6¾ in) fluted flan tin. Line with greaseproof paper and fill with baking beans. Bake for 10 mins, remove from the oven and take out the paper and beans.
To make the filling, whisk the eggs and cream together in a bowl and season with salt and pepper. Stir in the diced bacon and cheese and pour the mixture into the pastry case. Reduce the oven temperature to 180°C (350°F, gas mark 4) and bake for 20 to 25 mins, until the pastry is golden and the filling is just set in the centre.