EXPLAIN SELECT
q.user_notification_message_queue_id, q.session_clicks,
n.notification_messages_id, n.start_date, n.end_date, n.created_at, n.status,
IF ('en' = "fr", n.desktop_collapsed_message, n_l.l_desktop_collapsed_message) as desktop_collapsed_message,
IF ('en' = "fr", n.mobile_collapsed_message, n_l.l_mobile_collapsed_message) as mobile_collapsed_message,
IF ('en' = "fr", n.title, n_l.l_title) as title,
IF ('en' = "fr", n.content, n_l.content) as content,
CONCAT("/images/notificationMessages/", n.icon) as icon,
'en' as lang,
0 as 'rubpl19d6gp052mgig4eh52fuk'
FROM user_notification_message_queue q
INNER JOIN notification_messages n ON n.notification_messages_id = q.notification_messages_id
INNER JOIN notification_messages_lang n_l ON n_l.notification_messages_id = n.notification_messages_id
WHERE q.user_id = '460018'
AND n.status = 2
AND q.session_clicks < 2