SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8e9bc3fdc39b897cd43e14de5ee845c712d4d15e1df7963e3817db7707ae8ad' 
  AND token = 'LHFgIo7h+X++bfmcWbmH/t0Yt2JV/RN5ZGc7MKPkg8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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