Cooperative spectrum sensing in cognitive sensor networks has been shown to be very effective in improving the sensing performance. Sensors in these networks are assumed to be power re-source constrained. We propose an energy efficient cooperative spectrum sensing, in which all sensors are not participated in spectrum sensing and some nodes send their data to a fusion center only in order to improve the throughput of the network. We determine the nodes which sense the spectrum and the nodes which only contribute in data transmitting. The constraints on our problem are the global probability of detection, global probability of false alarm and the minimum required throughput. Based on the standard optimization techniques, the optimal conditions are obtained and a closed-form equation is expressed to determine the priority of nodes for spectrum sensing and data transmitting. Simulation results show that our algorithm leads to less energy consumption and improves the throughput in different conditions.