SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'JNV3-6EG9-M5IS-G6N3-MLGH-U43S-ZREM-EFF3' 
  AND product_id = 39 
  AND expires_at > 1770353724 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00035

JSON explain

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