SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31dccc0bc60219721e3a42909b2eed624281451cfe8bc86a27e85addd8bdef8a' 
  AND token = 'NonvpW6rqFQgmOWa9XR7rsOYizDUZa392keiGobNvfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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