I have many records in my table minimum 3000k records.

When I select SMS Page , it has two ajax pages, for calculation,

So, the SMS Page is taking so much time to complete the task.

I want to reduce the time of this page without affecting anywhere.

How to do?

Small world. OK, the time to do the SMS is pretty fixed in time so to say almost double the speed you need to get a second SMS gateway. You didn't reveal what you are using for the SMS actual sending so I can only comment from my past experience on this.

The cheap fast solution here was to not implement our own SMS but to deal with AT&T for the sending. Spammers tend to avoid that since, well they are spammers.

You can to use German or RabbitMQ for send SMS to multi streams.