Preheat the oven: Preheat your oven to 400°F (200°C).
Prepare baking sheets: Line two 13'' x 18'' baking sheets with parchment paper.
Mix dry ingredients: In a stand mixer bowl with the dough hook attachment, combine the flour, salt, sugar, anise seeds, and instant dry yeast.
Add wet ingredients: Pour warm water, softened butter, salt, and malt syrup (if using) into the dry ingredient mixture.
Mix the dough: Mix on low speed for 4 minutes. Then, increase the speed to medium and mix for an additional 3 minutes. Continue mixing on medium speed until the dough forms a firm but elastic consistency and pulls away from the side of the mixer bowl. ⚠️👉 (At this point, the mixer should be running at medium speed; a high speed would work the dough too roughly, breaking the structure of the gluten rather than promoting its development.)
Transfer and rest the dough: Lightly oil a bowl and your hands, then transfer the dough into it. Briefly push the dough into itself to form a smooth ball. Cover the bowl with a kitchen towel or plastic wrap and let the dough rest for 15 minutes.
Divide the dough: After the dough has risen, punch it down to release the air. Divide the dough into 2 equal pieces. Keep one piece covered while working with the other to prevent drying out.
Shape the coquitos: Roll out one piece of dough on a large work surface until it's about ½ inch thick. Cut the dough into strips approximately 1 inch wide. Take each strip and roll it under both hands until it's about ½'' to ¾'' in diameter and 13 inches long. Trim the ends and cut the dough diagonally into 1-inch pieces.
Arrange on baking sheets: Place the shaped coquitos on the prepared baking sheets, ensuring space between each piece to allow for expansion during baking.
Bake: Bake until golden brown and dry to the touch, about 15 to 20 minutes, switching the pans halfway through. Once baked, remove the coquitos from the oven and let them cool completely on the pan.