SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8be324bf8adbb9798e45e301561778596860274a65376f69ba086bd0cb787a7b' 
  AND token = 'X19V2QuCfx9Jyca0TfPKnViqyLzuCFNyioFtRMV50EI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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