Similar to the question at MYSQL: Find Start and End Timestamp of a consecutive count, I have a table with similar data:
StatusTime | Reading 2014-01-01 0
Something like this?
SELECT DISTINCT MAX(StatusTime), MIN(StatusTime) FROM table_name WHERE Reading < 50 OR Reading > 50;