select * from data where sn='meteo2' and pq='ip' order by id desc limit 4
idsntspqvaluesystemts
20699237 meteo2 ip 192.168.2.139 1558457482 Tue 21 05 2019 18:51:22
20695378 meteo2 ip 192.168.2.139 1558450914 Tue 21 05 2019 17:01:54
20691583 meteo2 ip 192.168.2.139 1558444348 Tue 21 05 2019 15:12:28
20687739 meteo2 ip 192.168.2.139 1558437780 Tue 21 05 2019 13:23:00

Tue May 21 21:44:03 2019 by walley