SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4163e433bfdf79ebf8756d828de70281646db707ac188b343b87be5fb3759895' 
  AND token = 'May2G+c7waJ8sV/9OICi7dN1gahga6lKYmRD9cDfYs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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