SELECT count(*) as count FROM topics WHERE last_post > 1500439606 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=1503031606,session_data='a:1:{s:18:\"search_app_filters\";a:1:{s:4:\"form\";a:1:{s:11:\"searchInKey\";s:0:\"\";}}}' WHERE session_id='db248a47137e9dc40e523fa269a606f1'

DELETE FROM search_sessions WHERE session_updated < 1502945206

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