SELECT count(*) as count FROM topics WHERE last_post > 1502426756 AND forum_id IN (56,57,58,66,67,114,60,61,75,109,34) AND state != 'link' AND topic_archive_status IN (0,3) AND approved=1

UPDATE search_sessions SET session_updated=1503031556,session_data='a:1:{s:18:\"search_app_filters\";a:1:{s:4:\"form\";a:1:{s:11:\"searchInKey\";s:0:\"\";}}}' WHERE session_id='f6a02ce96a721dd8e4a5383ce782e934'

DELETE FROM search_sessions WHERE session_updated < 1502945156

SELECT * FROM skin_cache WHERE cache_set_id=4 AND cache_value_1='skin_forums_global'