SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8df27ab3aade2a1800e2f993d3c96dfb0ae9d61c711693681558453cd356a58d' 
  AND token = 'PIRSsaC6ti6JX3buc6tFGNo2B5r6bE3rtJ8F1q7vwfo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}