SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e7cfaacd61d0f36485fee72e9db2e2250fee754acbbab2453cd2758ef5e734d4' 
  AND token = '8yX248//7IHhxk3qEKIMfpDSpv6JREpVktx5JWEdsVs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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