SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccb0ab5173e46706fc2e8311c04bcd7e8aa58a0e5af564f4739c725ef95ce657' 
  AND token = 'ePgb/gS3O4ulkMhixIaHbqzi6NIz7RN72vDNM/7vLAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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