SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7fc9d44b81bfdea68ce039da949cf1865013d3964a697107e488509742aa032' 
  AND token = 'nLhHuBK4++wtQhkJWSo7s9i8k4W85dPAT6TcNzjvj58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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