The quake measured a magnitude 5.0 and was centered about 30 miles northwest of Toyah, Texas and 50 miles from Carlsbad, New Mexico, according to the U.S. Geological Survey.