select * from data where sn='NACEHOVICE' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
27202159 NACEHOVICE temp 22.4 1571628027 Mon 21 10 2019 05:20:27
27202003 NACEHOVICE temp 22.5 1571627423 Mon 21 10 2019 05:10:23
27201850 NACEHOVICE temp 22.5 1571626819 Mon 21 10 2019 05:00:19
27201695 NACEHOVICE temp 22.5 1571626214 Mon 21 10 2019 04:50:14

Mon Oct 21 05:23:15 2019 by walley