SELECT * FROM `qq_avia3_user_post` WHERE `time` <1532345217 ORDER BY `time` ASC LIMIT 1
UPDATE `qq_avia3_user_post` SET `time`='1533036417', `date`='2018-07-31 14:26' WHERE `id` ='6708';
Array
(
    [0] => 6708
    [1] => 1527401924
    [2] => 2018-05-27 09:18
    [3] => agent_0121@balkan.ru
    [4] => all_per
    [5] => 
    [6] => 
)
http://paris.avia3.ru/post/post_all_per.php?log=agent_0121@balkan.ru&id=6708