This paper presents a framework for optimizing cooperative spectrum sensing and access in multi-channel cognitive radio networks, addressing challenges in heterogeneous settings where channel conditions vary. It proposes a synchronized medium access control (MAC) protocol to enhance throughput, along with algorithms to optimize sensing time and channel assignments. Numerical results demonstrate the effectiveness of the proposed design compared to non-optimized approaches, indicating significant performance improvements in spectrum utilization.