SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '9IN8-7G23-BZJ6-L6NO-L66Q-03MZ-DYFK-ZO78' 
  AND product_id = 27 
  AND expires_at > 1777123328 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00044

JSON explain

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