SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '639286118461d648cf713548e2fd47c06cf73df19417e398989867df80be7578' 
  AND token = 'SnGWXq0sZ+1ggeUZCzOPTJJ7qy8s1gW0Ko1ZfthS9E0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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