Lurganagoose is very close to Knockloughrim on the A6 road from Magherafelt to Dungiven. It is 214 acres in size. In the 1901 census there were 10 houses with a total of 43 people living there (No Andersons or Keenans):
http://www.census.nationalarchives.ie/pages/1901/Londonderry/Rocktown/Lurganagoose/
In the 1831 census there were 32 houses there. One was occupied by John Anderson. There was 1 male and 3 females, and the family were Church of Ireland.
http://www.census.nationalarchives.ie/pages/1831/Londonderry/Loughinsholin/Termoneeny/Lurganagoose/22/
A William Anderson also lived there with a total of 3 males and 7 females, all Presbyterian.
http://www.census.nationalarchives.ie/pages/1831/Londonderry/Loughinsholin/Termoneeny/Lurganagoose/13/
No Keenans in the townland in 1831.
I looked in Griffiths Valuation for 1859, and in the Valuation revision records up to 1863 to see if the Anderson or Keenan households were listed in Lurganagoose. Neither was. There can be several reasons for that. One might be that neither had lived in the townland long enough to be listed, another that they were lodging with someone else and the third that their houses were of too low a value to be worth listing in Griffiths (which was created primarily for tax purposes). Weavers and labourers often lived in fairly basic accommodation and moved around a bit to follow the available work. In this case it looks as though the Andersons had lived there since at least 1831 so I’d guess that the reason they are not in Griffiths is probably that their house was of too low a value to be listed. Can’t say about the Keenans as I don’t know how long they lived there, save that they weren’t there in 1831.
One reason for marrying in a Registry office was because it was a mixed marriage. (It overcame the difficulty of offending one family or the other). The Andersons appear to have been Church of Ireland and the Keenans were probably RC. (Most Keenans in the 1831 census were RC). You could search for William and Nancy’s baptisms. Termoneeny Church of Ireland has the following records:
Termoneeny (Derry diocese)
Baptisms, 1821-39 and 1846-82; marriages, 1821-38
and 1845-91; burials, 1833, 1846 and 1855-
Termoneeny RC has the following records:
Baptisms, 1837-9, 1852-65 and 1867-81; marriages,
1837-9, 1852-65, 1868-71 and 1873-80; funerals, 1837-
9.
[Termoneeny parish is partly in the Roman Catholic
parish of Maghera – see also under MAGHERA]
Maghera and Killylough (Derry diocese)
Baptisms, 1841-81; marriages, 1841-53 and 1857-82;
deaths, 1848-80 and 1887-8.
The RC records are on the nli site: https://www.nli.ie/en/family-history-introduction.aspx
For the Church of Ireland records you need to go to PRONI (the public record office) in Belfast.
Death registration started in Ireland in 1864. You could search the death records for John Anderson and James & Elizabeth Keenan, registered in Magherafelt, from 1864 onwards. Those from 1878 onwards are on-line free on the irishgenealogy site. https://churchrecords.irishgenealogy.ie/churchrecords/
Those for 1874 to 1877 are not free yet, and are on the GRONI website that you have just used to get the marriage certificate.