SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d23c08f8011b98e22122248437ce5b05cd9a629e4e0ef12cf748d032abda744' 
  AND token = 'zusUr83agRosf7mP3JnNYZcJU7nNuxIsWagcYs4ddh8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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