SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'T1UV-O5EU-7NHN-RJKY-ZCAP-JVVN-FLXA-47PN' 
  AND product_id = 158 
  AND expires_at > 1777128391 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00031

JSON explain

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