SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e1298265026b3563e0c29a46b8bdd301ab11bab524da72dfc7122b535dd9ef6b' 
  AND token = '9iU/2LJTeUHGB58ptKPztcVqBC4urKvN/kd1Lgk4Ehc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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