SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d6ca460d6e0f000f31fb12604fe722d4ea216d60c9ff7796cce41220155a1db' 
  AND token = 'ns3hB1pw5+UB80lvGGmT1Kurpop9RGY4DiL9A0FmBVU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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