SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c24d62c1ea90ad9a1a2ac60aada5350ced6ee4db02eb5a797c4be9b8df8787c' 
  AND token = 'tcnVQME5etCWjn+Z5pLPB6kNMfwjRW8slOvW5mB9+rU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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