The second Herschel–ATLAS Data Release – III. Optical and near-infrared counterparts in the North Galactic Plane field. Issue 1 (18th January 2018)