select * from data where sn='12250' and pq='ts' order by id desc limit 4
idsntspqvaluesystemts
20112422 12250 ts 1555618502 1555618502 Thu 18 04 2019 22:15:02
20112249 12250 ts 1555618202 1555618202 Thu 18 04 2019 22:10:02
20112071 12250 ts 1555617902 1555617902 Thu 18 04 2019 22:05:02
20111898 12250 ts 1555617602 1555617602 Thu 18 04 2019 22:00:02

Thu Apr 18 22:17:42 2019 by walley