CREATE TABLE table_31497 ("Townland" TEXT, "Area (  acres  ) " FLOAT, "Barony" TEXT, "Civil parish" TEXT, "Poor law union" TEXT)

In what barony are both the townland Dawstown and the civil parish Matehy located?
SELECT "Barony" FROM table_31497 WHERE "Townland" = 'Dawstown' AND "Civil parish" = 'Matehy'
SELECT "Barony" FROM "table_31497" WHERE "Civil parish" = 'Matehy' AND "Townland" = 'Dawstown'