I think you should use something like call GetOptValue(@LastName,'xxx' ,null,null,null). Take a look @ this calls in my code to mysql store procedures, may be something here can make sense for you:
Code:
...
Dim objCommand As New MySqlCommand()
objCommand.Connection = objConnection
objCommand.CommandText = "call read_person_images(@p_personID)"
objCommand.CommandType = CommandType.Text
objCommand.Parameters.Add("@p_personID", MySqlDbType.Int64).Value = personID
Dim objAdapter As New MySqlDataAdapter(objCommand)
Dim objDataResult As New DataSet
objAdapter.Fill(objDataResult)
...