SELECT 
  parent_product_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  product_id = 51439 
  AND group_id = 0

Query time 0.00027

JSON explain

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