How to Make It
Pulse flour, salt, turmeric, and black pepper in a food processor until combined. Add butter, and pulse until mixture is crumbly and butter is cut into small bits, about 10 times. Slowly add 4 tablespoons ice water while pulsing, adding up to 1 more tablespoon ice water, 1 teaspoon at a time, until dough comes together and forms a ball. Wrap in plastic wrap, and refrigerate until chilled, about 30 minutes.
Heat canola oil in a large skillet over medium-high until shimmering. Stir in onion, salt, black pepper, and red pepper. Cook, stirring often, until onion is translucent, about 10 minutes. Stir in tamarind concentrate until combined. Remove from heat, and set aside.
Preheat oven to 400°F. Line a large rimmed baking sheet with 2 layers of paper towels. Cut medium-size tomatoes into 1/2-inch-thick slices; cut cherry tomatoes in half. Place tomatoes on paper towels; sprinkle one side with curry powder and ½ teaspoon salt; flip and sprinkle the other side with remaining ½ teaspoon salt. Let stand 10 minutes.
Stir together cheeses, onion, mayonnaise, serrano, and red pepper in a large bowl. On a floured surface, roll pastry dough into a 12-inch circle or oval, trimming edges, if needed. Transfer dough to a parchment paper–lined baking sheet. Spread cheese mixture over dough, leaving a 2 1/2-inch border around edge. (You may not need all of cheese mixture.) Layer sliced tomatoes, curry side down, on cheese mixture; fill in with cherry tomatoes. Top with tamarind onions. Fold exposed border of dough circle toward center, pleating as necessary. Drizzle tomatoes and onions with olive oil; brush exposed crust with egg.
Bake in preheated oven until filling is bubbling and crust is golden brown, 20 to 25 minutes. Let cool 10 minutes.