Over the past decades, the Wireless Sensor Network (WSN) has reached greater heights. The main challenge in the WSN is the handling of the traffic load in the network without the reduction in the energy efficiency of the network. In this research, a scheduling algorithm is developed in the MAC protocol for energy constraint and delay sensitive WSN. The scheduling algorithm is developed using the proposed ASBAT-MAC protocol, which is developed by integrating the Atom Search Optimization (ASO) and Bat algorithm (BA). The scheduling is carried out based on the fitness function by considering the factors, like delay, energy, and fairness. The conception of the distributed energy fair scheduling MAC protocol and the residual energy is provided by the scheduling algorithm for the nodes to maintain a residual-energy queue in the node of the neighbour so that the network overhead is avoided and energy consumption is reduced. The simulation of the proposed ASBAT-MAC protocol is done based on the performance metrics, such as number of alive nodes, Fairness, Normalized energy and Throughput for nodes 50, 100 and 150 by varying the number of rounds. The proposed ASBAT-MAC protocol obtained a maximum number of alive nodes of 94, maximum fairness of 0.3520, maximum normalized energy of 0.1339 and maximum throughput of 0.5933, respectively for 150 nodes when compared with the existing protocols.