In the Internet of Things (IoT) scenario, many devices will communicate in the presence of the cellular network; the chances of availability of spectrum will be very scary given the presence of large numbers of mobile users and large amounts of applications. Spectrum prediction is very encouraging for high traffic next-generation wireless networks, where devices/machines which are part of the Cognitive Radio Network (CRN) can predict the spectrum state prior to transmission to save their limited energy by avoiding unnecessarily sensing radio spectrum. Long short-term memory (LSTM) is employed to simultaneously predict the Radio Spectrum State (RSS) for two-time slots, thereby allowing the secondary node to use the prediction result to transmit its information to achieve lower waiting time hence, enhanced performance capacity. A framework of spectral transmission based on the LSTM prediction is formulated, named as positive prediction and sensing-based spectrum access. The proposed scheme provides an average maximum waiting time gain of 2.88 ms. The proposed scheme provides 0.096 bps more capacity than a conventional energy detector.