select * from data where sn='12250' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
18879055 12250 temp 24.38 1553494202 Mon 25 03 2019 07:10:02
18878882 12250 temp 24.44 1553493903 Mon 25 03 2019 07:05:03
18878705 12250 temp 24.25 1553493602 Mon 25 03 2019 07:00:02
18878528 12250 temp 24.19 1553493302 Mon 25 03 2019 06:55:02

Mon Mar 25 07:10:20 2019 by walley