SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e746c399a233a7596986614573a9d6e25ce2fabd287c2087c5cb7403bbf845c' 
  AND token = '3HpegCHA0Jr4qqEWx8uCn17pYnYm6HJimL1xjP229bY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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