Endless Query Loop In Mysql
SP can be like (draft code):

CREATE PROCEDURE DeleteFromGeneralLogs (IN DeleteTill DATETIME)
BEGIN
DECLARE done INT DEFAULT 0;
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done:=1;
-- IF DeleteTill IS NULL THEN LEAVE;
WHILE done = 0 DO
    SELECT SLEEP(1) INTO done; -- small pause between chunks
    DELETE 
        FROM customer.generallogs  
        WHERE DateEnter &lt; DeleteTill  
        LIMIT 100000;
END WHILE;
END;


And then 

CALL DeleteFromGeneralLogs('2019-04-03 16:13:28');