SQL ERROR COUNT: database is locked
  SELECT COUNT(*)
  FROM products
  WHERE is_active = 1