You don't have to pay any National Insurance contributions (employer or employee) until your salary is above £153 per week. Although that's below the minimum wage for full time employees, as a director you can pay yourself what you want.
However, there is only one place in the UK for starting a startup and that place is London. Rent alone will cost you several times your Spanish social security contributions.
But it's a small-ish country, with decent transport connections. Why not Manchester, with trains every 20 minutes to London when needed? [1] Or Bristol [2]. Cambridge has had startups for ages.
[1] http://traintimes.org.uk/london/manchester [2] http://www.theguardian.com/technology/2014/jan/12/bristol-ba...
Then as long as you don't earn more than 5/6ths of your income from a single client you can remain exempt.
Fall foul of that 5/6ths though and you have to pay full whack (half for the first 6 months) which is a whopping 500 EUR per month.
It is designed to discourage people who really 'should' be employed, working on long term contracts for a single employer.