SELECT MinQty, MaxQty, Price FROM tbl_gf_product_bulk_group_prices WHERE ProductId = gsm-tool-all-in-one-fusion AND GroupId = 3 ORDER BY Id

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all-in-one-fusion AND GroupId = 3 ORDER BY Id' at line 2