SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b862b69086fe797d6de58409a8759ee0f0169afec90d40cc25a692bcbd428ac' 
  AND token = 'bUunx3W+v/6APPDlAD7sd8EgiTuHSQ5Z04YfUwXbt50=' 
  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"
    }
  }
}