For the aniseed syrup, boil 150 ml water, sugar and 1 teaspoon aniseed in a pot. Simmer for about 5 minutes. Add lemon juice and simmer for about 5 minutes. Remove from heat and let it cool down.
Dab mozzarella dry and cut into slices. Melt butter. Use scissors to cut dough threads smaller. Knead well in a bowl with butter and 2 tbsp. anise syrup.
Preheat oven (electric cooker: 200 °C/circulating air: 180 °C/gas: see manufacturer). Press approx. 8 circles (approx. 12 cm Ø) together from half of the dough threads (best with a pot bottom). Spread the mozzarella over the circles. Add the remaining threads of dough in portions and press together. Place on a slightly oiled baking tray. Bake in a hot oven for 20-25 minutes until golden brown.
Finely chop the pistachios. Take the coffees out of the oven, spread the remaining syrup over them and sprinkle with pistachios. Serve warm immediately.