Prepare dry ingredients: In a large bowl, combine 1 and 1/2 cups regular semolina and 1 and 1/2 cups fine semolina (chicken flour). If you have medium semolina, you can use 3 cups instead. Add 3/4 cup shredded coconut, 1 tablespoon baking powder, and a pinch of salt. Mix well and set aside.
Prepare liquid ingredients: In a separate bowl, mix 1 cup plain yogurt, 250 grams ashta cream (or cream cheese), 2 eggs, 1 teaspoon vanilla extract, 1/2 cup ghee (or butter or vegetable oil), and 1 cup sugar. Stir well until sugar dissolves and the mixture is thick and homogeneous.
Combine mixtures: Make a well in the center of the dry ingredients and pour in the liquid ingredients. Mix gently until just combined and homogeneous. Avoid overmixing to keep the right texture.
Prepare baking tray: Grease the oven tray with tahini or alternatively oil and flour. Pour the basbousa mixture into the tray and spread evenly.
Score the mixture: Wet your hands with water to prevent sticking and smooth the surface of the mixture. Score the surface into pieces of desired size for easier cutting after baking.
Bake: Preheat the oven to 170°C (338°F). Bake the basbousa on the middle rack for approximately 20-30 minutes. Do not open the oven during baking. When the bottom is cooked and the top starts to brown, remove from oven.
Prepare syrup: While the basbousa bakes, prepare the syrup by boiling 1 cup water and 1 and 1/2 cups sugar in a pot. Once boiling, reduce heat to low and simmer for about 7 minutes. Add 1 tablespoon lemon juice and 1 teaspoon orange blossom water (optional). Remove from heat.
Pour syrup and rest: Immediately after removing basbousa from oven, pour the hot syrup evenly over it. Let it rest at room temperature for about 1 hour and 20 minutes to absorb the syrup fully.
Serve and decorate: Cut the basbousa along the scored lines and remove pieces from the tray. Decorate each piece with a dollop of ready-made cream and sprinkle crushed pistachios on top. Serve at room temperature.