SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'J23X-YXD0-CPGF-C6E2-Q3QY-TG4S-F733-Y0LE' 
  AND product_id = 78 
  AND expires_at > 1770591777 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00038

JSON explain

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