SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59c47ba56eb903027fe507606ab935bf3a77926a44d14554ee35bcc76be9285b' 
  AND token = 'x+KeqaUous6Rm7bGmZZamZxDBtynu0/8RF5st+2gzY4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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