SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5895a941d848fbcfc024fa27577587876af75168d7ed050be70beb4ffd9d20b4' 
  AND token = 'jVvdtOhUMo1KsuvX7wSjcRVoiFnkotr2CsTDt7ktxLg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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