I need your help in optimizing the below code. I have been experiencing like 2 seconds for each data retrieval and I\'m not sure how else I can optimize this code to make it fas