SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6677923671b72f0c266cda5538eb32551ad090cdafe16fccb78baa343621584a' 
  AND token = 'KuTJkYY5MGXS2qwYB38Dp0wTCCy/82ZJxf8mATEFli4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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