UPDATE sessions SET search_thread_id=63495817,search_thread_time=1503031887 WHERE id='c8f914343337810418478347e7c66e62'

SELECT tg.* FROM core_tags tg WHERE tg.tag_meta_parent_id IN (56,57,58,66,67,114,60,61,75,109,34) AND tg.tag_meta_app='forums' AND tg.tag_meta_area='topics' AND tg.tag_text IN ('XCOM 2: Electric Boogaloo') AND tg.tag_aai_lookup IN (SELECT tag_perm_aai_lookup FROM core_tags_perms WHERE ( ( FIND_IN_SET(2,tag_perm_text) ) OR ( tag_perm_text='*' ) ) AND tag_perm_visible=1 ) ORDER BY tg.tag_meta_id desc LIMIT 0,10000000000

SELECT t.tid as id, t.tid as topic_id, t.title, t.posts, t.views, t.last_post, t.topic_firstpost,p.post_date, p.pid FROM topics t LEFT JOIN posts p ON ( p.pid=t.topic_firstpost ) WHERE t.tid IN (2152) AND t.forum_id IN (56,57,58,66,67,114,60,61,75,109,34) AND p.queued=0 AND t.approved=1 AND t.topic_archive_status IN (0,3) AND t.state != 'link' ORDER BY t.posts desc LIMIT 0,201

SELECT author_id, topic_id FROM posts WHERE queued=0 AND author_id=0 AND topic_id IN(2152)

UPDATE sessions SET search_thread_id=0,search_thread_time=0 WHERE id='c8f914343337810418478347e7c66e62'

UPDATE search_sessions SET session_updated=1503031887,session_data='a:1:{s:18:\"search_app_filters\";a:1:{s:6:\"forums\";a:3:{s:7:\"sortKey\";s:5:\"posts\";s:11:\"searchInKey\";s:0:\"\";s:7:\"sortDir\";s:0:\"\";}}}' WHERE session_id='18b3808f7d3320dd78f27a4308019525'

DELETE FROM search_sessions WHERE session_updated < 1502945487

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