SELECT * FROM `qq_avia3_user_post` WHERE `time` <1511112807 ORDER BY `time` ASC LIMIT 1
Array
(
    [0] => 10717
    [1] => 1510607161
    [2] => 2017-11-13 21:06
    [3] => info@westlinegroup.ru
    [4] => new
    [5] => 
    [6] => 
)
http://paris.avia3.ru/post/post_new.php?log=info@westlinegroup.ru&id=10717