SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8429fae356f19aa05cf4bda06c5c4bb374b5510bd671ad7969030db977bd86e' 
  AND token = '2qQJwqdClmqgavhwArlLLvklPcObXup0bFshAWsAytg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}