What is the first party for Lord John Hay earlier than 1857?
CREATE TABLE "m_ps_1707_1868" (
  "year" real,
  "first_member" text,
  "first_party" text,
  "second_member" text,
  "second_party" text
);
SELECT "first_party" FROM "m_ps_1707_1868" WHERE "year"<1857 AND "first_member"='lord john hay';