Improved sql query speed for one specific request