You can get this data from Datastream (LSEG Workspace) and LSEG Workspace (formerly Refinitiv Workspace) (available at Barcelona and Madrid Libraries, or limited licenses for desktop application or web access).
For a list of index constituents, you can use the Equity Indices or Constituent Lists in Datastream and Refinitiv Workspace.