SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ede12456f2617358c0b1849fc9a7148368bc481a44e577296dd18c70887c73d' 
  AND token = 'Tew2haCDLS3LYChn8/8jEVDUlAAbmoxWHdkfzE6QsOI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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