What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'
SELECT DISTINCT T2.thing_id ,  T2.Type_of_Thing_Code FROM Timed_Status_of_Things AS T1 JOIN Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.Status_of_Thing_Code  =  'Close' OR T1.Date_and_Date  <  '2017-06-19 02:59:21'
SELECT DISTINCT T2.thing_id ,  T2.Type_of_Thing_Code FROM Timed_Status_of_Things AS T1 JOIN Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.Status_of_Thing_Code  =  'Close' OR T1.Date_and_Date  <  '2017-06-19 02:59:21'
[{'thing_id': 2, 'Type_of_Thing_Code': 'Electronics'}, {'thing_id': 10, 'Type_of_Thing_Code': 'Commen'}, {'thing_id': 26, 'Type_of_Thing_Code': 'Electronics'}, {'thing_id': 47, 'Type_of_Thing_Code': 'Commen'}, {'thing_id': 58, 'Type_of_Thing_Code': 'Electronics'}, {'thing_id': 80, 'Type_of_Thing_Code': 'Furniture'}, {'thing_id': 85, 'Type_of_Thing_Code': 'Commen'}, {'thing_id': 92, 'Type_of_Thing_Code': 'Commen'}]