SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '58P7-UGBH-CSG3-5WXD-KQW3-UFG8-M6N4-HN4Z' 
  AND product_id = 78 
  AND expires_at > 1770630882 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00050

JSON explain

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