SELECT SQL_CALC_FOUND_ROWS
n.id,
n.title,
n.rcount,
n.main_foto,
DATE_FORMAT(n.news_time, '%H:%i') as time,
n.add_time,
UNIX_TIMESTAMP(n.news_time) as ts
FROM
gst_shortnews n
INNER JOIN gst_shortnews_video v ON v.news_id=n.id
WHERE
n.user_sent = 0
AND n.id IN(147113)
GROUP BY n.id
ORDER BY n.news_time DESC, n.rcount DESC LIMIT 3