Also, the database is hosted on a free sandboxed environment on mlab.com. Shifting to a production environment would make things blazingly fast. If you would like to have my details for the mlab account, please feel free to DM me.
Thank you @alkesh47. Let me know if you have some tips or ideas to work upon.