LHR to JFK is an extremely short route to do a connection via Spain. By the time you have got to MAD and connected you would nearly have been more than half way to JFK.
I would consider taking WT+ over LHR-MAD-JFK in business class, certainly on the outbound day flight.