Make a smooth dough from the flour, sour cream, a little salt and melted butter. Chill briefly (not too long, otherwise the dough will be too firm and can no longer be rolled out nicely).
In the meantime, put the minced meat in a bowl. Knead well with tomato paste, ketchup, oregano, cumin, chili powder and paprika powder.
Chop the onion and garlic into small pieces. Briefly sauté both in a large pan. Add the minced meat and fry until there is no more liquid. Stir in the corn and kidney beans. Season a little more if necessary.
Grease a quiche pan a little. Roll out the dough and place in the mold. Prick a few times with a fork. Put the minced meat mixture on the dough and sprinkle the grated cheese over it.
Whisk the eggs with the milk and season with salt and pepper. Then pour over the cheese.
Bake in the preheated oven at 180 ° C for approx. 45 minutes.