P125 The relationship between mid-life pain and cognitive impairment: a prospective, population-based study