SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'NOST-U52A-GB97-C2QO-IQCC-WVG7-PWY7-GRU9' 
  AND product_id = 30 
  AND expires_at > 1770195930 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00036

JSON explain

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