The duration of the process depends mainly on the Spanish consulate in the United Kingdom. They have one month to approve the request, if they do not receive a response, the request will be deemed rejected.
Besides, different documents are required to make the application, so you also have to bear in mind the time spent gathering all the documents.