SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ee715feff6495fca457c546a0eb7e6c80066c8c1f5151e2fccabb9baf7365394' 
  AND token = 'VN8a/qXp7RrpB7Yi+XNTpILL8Kw4ExxeaR1B/b/Dqu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}