Amidohydrolases for preparing foodstuffs or stimulants